// 导入 
import BaseAPI from './baseapi'
import request from '../utils/request';


// 继承类
class RolesPerDetailApi extends BaseAPI{

    constructor(appname:string, name: string) {
       super(appname, name);
    }

    // 当前类定义的函数 
    public getDetail = (data:any) => {
        return request({
            method: 'post',
            url: `${this.appname}/${this.name}/detail/get/`,
            data
        })
    }

}


export default RolesPerDetailApi